package com.test.graphsqltest.service;

import com.test.graphsqltest.beans.Item;
import com.test.graphsqltest.beans.ItemList;
import com.test.graphsqltest.beans.Param;

import java.util.List;

public interface IItemService {
    /**
    * @Description: TODO
    * @author: wangming
    * @date: 查询专用
    * @Return:
    */
    ItemList queryItemList();

    /**
    * @Description: TODO
    * @author: wangming
    * @date: 根据id去查询
    * @Return:
    */
    Item queryById(Long id);

    /**
    * @Description: TODO
    * @author: wangming
    * @date: 更新姓名
    * @Return:
    */
    Item updateName(Param param);

    /**
    * @Description: TODO
    * @author: wangming
    * @date: 删除item

    * @Return:
    */
    Item deleteItem(Long id);
}
